package com.zscat.mallplus.pms.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zscat.mallplus.utils.BaseEntity;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 *
 * @Auther: rwz
 * @Date: 2020/09/17/9:45 下午
 * @Description:
 */
@Data
@TableName("pms_group_rule")
public class PmsGroupRule extends BaseEntity implements Serializable {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("product_id")
    private Long productId;

    @TableField("person_num")
    private Integer personNum;

    @TableField("discount")
    private BigDecimal discount;

    @TableField("unit")
    private String unit;

    @TableField("is_valid")
    private String isValid;

    @TableField("operator")
    private String operator;

    @TableField("operadate")
    private Date operadate;
}
